package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-11-28
 */
@Getter
public enum JdBtQuotaEnum  implements IBaseEnum<Integer> {

    /**
     * 京东白条额度 0.无要求 1.额度1000以下 2.额度1000-5000 3.额度5000-10000 4.额度10000以上 5.无
     */
    NO_REQUIRED(0, "无要求",false),
    ABOVE1000(1, "1000以下",false),
    ABOVE5000(2, "1000-5000",false),
    ABOVE10000(3, "5000-10000",true),
    ABOVE10001(4, "10000以上",false),
    WITHOUT(5, "无",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;
    JdBtQuotaEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
